<?php


namespace App\Model;

/**
 * Class MenuModel
 * @package App\Model
 * author:fhc
 * desc:菜单模型
 * created_at: {2020/10/16}----10:51 上午
 */
class MenuModel extends BaseModel
{
    protected $table = 'menu';

    public function pMenu(){
        return $this->hasMany(MenuModel::class,'id','pid');
    }
}
